/*!
\copyright  Copyright (c) 2020 - 2024 Qualcomm Technologies International, Ltd.
            All Rights Reserved.
            Qualcomm Technologies International, Ltd. Confidential and Proprietary.
\file
\ingroup    hci_tap
\brief

*/

#ifndef HCI_TAP_PRIVATE_H_
#define HCI_TAP_PRIVATE_H_

#include <sink.h>
#include <source.h>

#define HCI_TAPI_STR "HCI-TAP:I: "
#define HCI_TAPW_STR "HCI-TAP:W: "
typedef enum {
    HCI_TAP_DISCONNECTED,
    HCI_TAP_CONNECTED_TO_USB,
    HCI_TAP_CONNECTED_TO_UART
} HciTapState;

typedef struct HciTapPrivateTag
{
    Source src;
    Sink sink;
    HciTapState state;
} HciTapPrivate;

/*! \brief     Connect source and sink together.
    \return    result - TRUE when successfull
*/
extern bool hciTapStream_ConnectStream(Source src, Sink sink);

#endif